﻿using System.Data.Objects.DataClasses;
using Marketplace.Engine.Model;
using Marketplace.Engine.Repository.Generic;

namespace Marketplace.Engine.Repository
{
    public abstract class MarketplaceRepository<T> : MarketplaceRepository<T, T> where T : EntityObject
    {

    }

    public abstract class MarketplaceRepository<T, TBase> : GenericRepository<T, TBase>
        where T : EntityObject
        where TBase : EntityObject
    {
        protected MarketplaceRepository() : base(new MarketplaceContext())
        {
        }
    }
}